<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>WB32L003 Standard Peripherals Firmware Library: wb32l003_rtc.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">WB32L003 Standard Peripherals Firmware Library
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_6d2d5b60bd20db849a9486835a2715aa.html">Libraries</a></li><li class="navelem"><a class="el" href="dir_5ec8cccc32fa528457f3b4ed28e1a2cf.html">WB32L003_StdPeriph_Driver</a></li><li class="navelem"><a class="el" href="dir_cb9a941ec225bfb9bad4e8246158e282.html">inc</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">wb32l003_rtc.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="wb32l003__rtc_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">/* Define to prevent recursive inclusion -------------------------------------*/</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#ifndef __WB32L003_RTC_H</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#define __WB32L003_RTC_H</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160; <span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment">/* Includes ------------------------------------------------------------------*/</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#include &quot;wb32l003.h&quot;</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="comment">/* Exported types ------------------------------------------------------------*/</span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="struct_r_t_c___time_type_def.html">   34</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;{</div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="struct_r_t_c___time_type_def.html#a477121009a567d6dd0e5fa1310574d32">   36</a></span>&#160;  uint8_t <a class="code" href="struct_r_t_c___time_type_def.html#a477121009a567d6dd0e5fa1310574d32">RTC_Hours</a>;   </div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="struct_r_t_c___time_type_def.html#ae6454acb26dbaa987a4f39b992074394">   41</a></span>&#160;  uint8_t <a class="code" href="struct_r_t_c___time_type_def.html#ae6454acb26dbaa987a4f39b992074394">RTC_Minutes</a>; </div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="struct_r_t_c___time_type_def.html#a8c07c311d80e32ef93c46d5e5a701105">   44</a></span>&#160;  uint8_t <a class="code" href="struct_r_t_c___time_type_def.html#a8c07c311d80e32ef93c46d5e5a701105">RTC_Seconds</a>; </div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="struct_r_t_c___time_type_def.html#a0fe1916f490e9ef9fa171fbfcffd2c58">   47</a></span>&#160;  uint8_t <a class="code" href="struct_r_t_c___time_type_def.html#a0fe1916f490e9ef9fa171fbfcffd2c58">RTC_H12</a>;     </div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;} <a class="code" href="struct_r_t_c___time_type_def.html">RTC_TimeTypeDef</a>;</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;</div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="struct_r_t_c___date_type_def.html">   54</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct</span></div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;{</div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="struct_r_t_c___date_type_def.html#a15f84881e22a582c5a74ba1fd18f1b0b">   56</a></span>&#160;  uint32_t <a class="code" href="struct_r_t_c___date_type_def.html#a15f84881e22a582c5a74ba1fd18f1b0b">RTC_Year</a>;    </div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="struct_r_t_c___date_type_def.html#a8f0d023494a7f66ec535d97b14d34363">   59</a></span>&#160;  uint8_t <a class="code" href="struct_r_t_c___date_type_def.html#a8f0d023494a7f66ec535d97b14d34363">RTC_Month</a>;    </div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="struct_r_t_c___date_type_def.html#a0fa309adbe7cb00f5559f123637db5d5">   62</a></span>&#160;  uint8_t <a class="code" href="struct_r_t_c___date_type_def.html#a0fa309adbe7cb00f5559f123637db5d5">RTC_Date</a>;     </div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="struct_r_t_c___date_type_def.html#a11187916c6ecdc5464df15561f9f67f8">   65</a></span>&#160;  uint8_t <a class="code" href="struct_r_t_c___date_type_def.html#a11187916c6ecdc5464df15561f9f67f8">RTC_WeekDay</a>;  </div><div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="struct_r_t_c___date_type_def.html#aff0da1fdfc42a0f8c0748d014921357b">   68</a></span>&#160;  uint8_t <a class="code" href="struct_r_t_c___date_type_def.html#aff0da1fdfc42a0f8c0748d014921357b">RTC_Cen</a>;      </div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;} <a class="code" href="struct_r_t_c___date_type_def.html">RTC_DateTypeDef</a>;</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;</div><div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="struct_r_t_c___alarm_enable_type_def.html">   75</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct</span></div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;{</div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="struct_r_t_c___alarm_enable_type_def.html#a6cb39456be9ab6d4113897604f3b83be">   77</a></span>&#160;  uint32_t <a class="code" href="struct_r_t_c___alarm_enable_type_def.html#a6cb39456be9ab6d4113897604f3b83be">Year_Enable</a>;    </div><div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="struct_r_t_c___alarm_enable_type_def.html#a83345b13965e480c5c7cb149b5355eef">   79</a></span>&#160;  uint32_t <a class="code" href="struct_r_t_c___alarm_enable_type_def.html#a83345b13965e480c5c7cb149b5355eef">Month_Enable</a>;   </div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="struct_r_t_c___alarm_enable_type_def.html#a455fbd36e1ef2a6a642050c43cd5a116">   81</a></span>&#160;  uint32_t <a class="code" href="struct_r_t_c___alarm_enable_type_def.html#a455fbd36e1ef2a6a642050c43cd5a116">Date_Enable</a>;    </div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="struct_r_t_c___alarm_enable_type_def.html#a8b1dd5a7a9ba7c35d5a6fdb953776f68">   83</a></span>&#160;  uint32_t <a class="code" href="struct_r_t_c___alarm_enable_type_def.html#a8b1dd5a7a9ba7c35d5a6fdb953776f68">WeekDay_Enable</a>; </div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="struct_r_t_c___alarm_enable_type_def.html#a6a988464a06f8c9821bb2400dda884ee">   85</a></span>&#160;  uint32_t <a class="code" href="struct_r_t_c___alarm_enable_type_def.html#a6a988464a06f8c9821bb2400dda884ee">Sen_Enable</a>;     </div><div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="struct_r_t_c___alarm_enable_type_def.html#a3c1d834488a779955c7c7b153ad83d83">   87</a></span>&#160;  uint32_t <a class="code" href="struct_r_t_c___alarm_enable_type_def.html#a3c1d834488a779955c7c7b153ad83d83">Hours_Enable</a>;   </div><div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="struct_r_t_c___alarm_enable_type_def.html#a261e1324686a68349330a91dccb97014">   89</a></span>&#160;  uint32_t <a class="code" href="struct_r_t_c___alarm_enable_type_def.html#a261e1324686a68349330a91dccb97014">Minutes_Enable</a>; </div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="struct_r_t_c___alarm_enable_type_def.html#aaf40b40dea525ac832ba4b8f715082e5">   91</a></span>&#160;  uint32_t <a class="code" href="struct_r_t_c___alarm_enable_type_def.html#aaf40b40dea525ac832ba4b8f715082e5">Seconds_Enable</a>; </div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;} <a class="code" href="struct_r_t_c___alarm_enable_type_def.html">RTC_AlarmEnableTypeDef</a>;</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;</div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="struct_r_t_c___alarm_type_def.html">   98</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct</span></div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;{</div><div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="struct_r_t_c___alarm_type_def.html#aa57dd9deaaea9b542486911ad9045d9b">  100</a></span>&#160;  <a class="code" href="struct_r_t_c___alarm_enable_type_def.html">RTC_AlarmEnableTypeDef</a> <a class="code" href="struct_r_t_c___alarm_type_def.html#aa57dd9deaaea9b542486911ad9045d9b">Alarm_Enable</a>; </div><div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="struct_r_t_c___alarm_type_def.html#ae9cb3adf9101dd46d9694b4a443f9907">  101</a></span>&#160;  <a class="code" href="struct_r_t_c___date_type_def.html">RTC_DateTypeDef</a> <a class="code" href="struct_r_t_c___alarm_type_def.html#ae9cb3adf9101dd46d9694b4a443f9907">RTC_AlarmDate</a>;       </div><div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="struct_r_t_c___alarm_type_def.html#a87078823f156d88aa21b0a1c43cb985c">  102</a></span>&#160;  <a class="code" href="struct_r_t_c___time_type_def.html">RTC_TimeTypeDef</a> <a class="code" href="struct_r_t_c___alarm_type_def.html#a87078823f156d88aa21b0a1c43cb985c">RTC_AlarmTime</a>;       </div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;} <a class="code" href="struct_r_t_c___alarm_type_def.html">RTC_AlarmTypeDef</a>;</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;</div><div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="struct_r_t_c___init_type_def.html">  108</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct</span></div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;{</div><div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="struct_r_t_c___init_type_def.html#a0db37d58422ac673ed23f89a3f4a9112">  110</a></span>&#160;  uint32_t <a class="code" href="struct_r_t_c___init_type_def.html#a0db37d58422ac673ed23f89a3f4a9112">RTC_HourFormat</a>; </div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;  uint32_t RTC_CLKSEL;</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;  uint32_t RTC_HSEDIV;</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;} <a class="code" href="struct_r_t_c___init_type_def.html">RTC_InitTypeDef</a>;</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;</div><div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="struct_r_t_c___handle_type_def.html">  119</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct</span></div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;{</div><div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="struct_r_t_c___handle_type_def.html#ad08c19f15bc164d31a709b2a66262d02">  121</a></span>&#160;  <a class="code" href="struct_r_t_c___init_type_def.html">RTC_InitTypeDef</a> <a class="code" href="struct_r_t_c___handle_type_def.html#ad08c19f15bc164d31a709b2a66262d02">InitStruct</a>;   </div><div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="struct_r_t_c___handle_type_def.html#ab4721c4fe201fd3434c7989dff8b1c72">  122</a></span>&#160;  <a class="code" href="struct_r_t_c___date_type_def.html">RTC_DateTypeDef</a> <a class="code" href="struct_r_t_c___handle_type_def.html#ab4721c4fe201fd3434c7989dff8b1c72">DateToUpdate</a>; </div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;} <a class="code" href="struct_r_t_c___handle_type_def.html">RTC_HandleTypeDef</a>;</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;<span class="comment">/* Exported constants --------------------------------------------------------*/</span></div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;<span class="preprocessor">#define RTC_HOURFORMAT_24             RTC_CR_FMT</span></div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;<span class="preprocessor">#define RTC_HOURFORMAT_12             0x00000000U</span></div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;<span class="preprocessor">#define IS_RTC_HOUR_FORMAT(FORMAT)    (((FORMAT) == RTC_HOURFORMAT_12) || \</span></div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;<span class="preprocessor">                                       ((FORMAT) == RTC_HOURFORMAT_24))</span></div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;<span class="preprocessor">#define IS_RTC_HOUR12(HOUR)           (((HOUR) &gt; 0) &amp;&amp; ((HOUR) &lt;= 12))</span></div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;<span class="preprocessor">#define IS_RTC_HOUR24(HOUR)           ((HOUR) &lt;= 23)</span></div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;<span class="preprocessor">#define IS_RTC_MINUTES(MINUTES)       ((MINUTES) &lt;= 59)</span></div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;<span class="preprocessor">#define IS_RTC_SECONDS(SECONDS)       ((SECONDS) &lt;= 59)</span></div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;</div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;<span class="preprocessor">#define RTC_H12_AM                    ((uint8_t)0x00)</span></div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;<span class="preprocessor">#define RTC_H12_PM                    ((uint8_t)0x01)</span></div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;<span class="preprocessor">#define IS_RTC_H12(PM)                (((PM) == RTC_H12_AM) || ((PM) == RTC_H12_PM))</span></div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;</div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;<span class="preprocessor">#define IS_RTC_YEAR(YEAR) ((YEAR) &lt;= 99)</span></div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;</div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;<span class="comment">/* Coded in BCD format */</span></div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;<span class="preprocessor">#define RTC_Month_January             ((uint8_t)0x01)</span></div><div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;<span class="preprocessor">#define RTC_Month_February            ((uint8_t)0x02)</span></div><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;<span class="preprocessor">#define RTC_Month_March               ((uint8_t)0x03)</span></div><div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;<span class="preprocessor">#define RTC_Month_April               ((uint8_t)0x04)</span></div><div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;<span class="preprocessor">#define RTC_Month_May                 ((uint8_t)0x05)</span></div><div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;<span class="preprocessor">#define RTC_Month_June                ((uint8_t)0x06)</span></div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;<span class="preprocessor">#define RTC_Month_July                ((uint8_t)0x07)</span></div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;<span class="preprocessor">#define RTC_Month_August              ((uint8_t)0x08)</span></div><div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;<span class="preprocessor">#define RTC_Month_September           ((uint8_t)0x09)</span></div><div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;<span class="preprocessor">#define RTC_Month_October             ((uint8_t)0x10)</span></div><div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;<span class="preprocessor">#define RTC_Month_November            ((uint8_t)0x11)</span></div><div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;<span class="preprocessor">#define RTC_Month_December            ((uint8_t)0x12)</span></div><div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;<span class="preprocessor">#define IS_RTC_MONTH(MONTH)           (((MONTH) &gt;= 1) &amp;&amp; ((MONTH) &lt;= 12))</span></div><div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;<span class="preprocessor">#define IS_RTC_DATE(DATE)             (((DATE) &gt;= 1) &amp;&amp; ((DATE) &lt;= 31))</span></div><div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;<span class="preprocessor">#define IS_RTC_CEN(CEN)               ((CEN) &lt;= 1)</span></div><div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;</div><div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;<span class="preprocessor">#define RTC_Weekday_Monday            ((uint8_t)0x00)</span></div><div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;<span class="preprocessor">#define RTC_Weekday_Tuesday           ((uint8_t)0x01)</span></div><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;<span class="preprocessor">#define RTC_Weekday_Wednesday         ((uint8_t)0x02)</span></div><div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;<span class="preprocessor">#define RTC_Weekday_Thursday          ((uint8_t)0x03)</span></div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;<span class="preprocessor">#define RTC_Weekday_Friday            ((uint8_t)0x04)</span></div><div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;<span class="preprocessor">#define RTC_Weekday_Saturday          ((uint8_t)0x05)</span></div><div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;<span class="preprocessor">#define RTC_Weekday_Sunday            ((uint8_t)0x06)</span></div><div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;<span class="preprocessor">#define IS_RTC_WEEKDAY(WEEKDAY)       (((WEEKDAY) == RTC_Weekday_Monday)    || \</span></div><div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;<span class="preprocessor">                                       ((WEEKDAY) == RTC_Weekday_Tuesday)   || \</span></div><div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;<span class="preprocessor">                                       ((WEEKDAY) == RTC_Weekday_Wednesday) || \</span></div><div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;<span class="preprocessor">                                       ((WEEKDAY) == RTC_Weekday_Thursday)  || \</span></div><div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;<span class="preprocessor">                                       ((WEEKDAY) == RTC_Weekday_Friday)    || \</span></div><div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;<span class="preprocessor">                                       ((WEEKDAY) == RTC_Weekday_Saturday)  || \</span></div><div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;<span class="preprocessor">                                       ((WEEKDAY) == RTC_Weekday_Sunday))</span></div><div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;</div><div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;<span class="preprocessor">#define RTC_Format_BIN                ((uint32_t)0x000000000)</span></div><div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;<span class="preprocessor">#define RTC_Format_BCD                ((uint32_t)0x000000001)</span></div><div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;<span class="preprocessor">#define IS_RTC_FORMAT(FORMAT)         (((FORMAT) == RTC_Format_BIN) || ((FORMAT) == RTC_Format_BCD))</span></div><div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;</div><div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;<span class="preprocessor">#define RTC_CLOCK_LSE                 (0x00UL &lt;&lt; RTC_CLKCR_RTCCKSEL_Pos)</span></div><div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;<span class="preprocessor">#define RTC_CLOCK_LIRC                (0x01UL &lt;&lt; RTC_CLKCR_RTCCKSEL_Pos)</span></div><div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;<span class="preprocessor">#define RTC_CLOCK_HSE                 (0x02UL &lt;&lt; RTC_CLKCR_RTCCKSEL_Pos)</span></div><div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;<span class="preprocessor">#define IS_RTC_CLK_SOURCE(CLK)        (((CLK) == RTC_CLOCK_LSE) ||  \</span></div><div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;<span class="preprocessor">                                       ((CLK) == RTC_CLOCK_LIRC) || \</span></div><div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;<span class="preprocessor">                                       ((CLK) == RTC_CLOCK_HSE))</span></div><div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;</div><div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;<span class="preprocessor">#define IS_RTC_HSE_DIV(DIV) (((DIV) &lt;= 0x7F))</span></div><div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;</div><div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;<span class="preprocessor">#define RTC_IT_ALR2                   ((uint32_t)0x00000020)</span></div><div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;<span class="preprocessor">#define RTC_IT_ALR1                   ((uint32_t)0x00000010)</span></div><div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;</div><div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;<span class="preprocessor">#define IS_RTC_CONFIG_IT(IT)          (((IT) != (uint32_t)RESET) &amp;&amp; (((IT)&amp;0xFFFFFFCF) == (uint32_t)RESET))</span></div><div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;<span class="preprocessor">#define IS_RTC_GET_IT(IT)             (((IT) == RTC_IT_ALR1) || ((IT) == RTC_IT_ALR1))</span></div><div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;<span class="preprocessor">#define IS_RTC_CLEAR_IT(IT)           (((IT) != (uint32_t)RESET) &amp;&amp; (((IT)&amp;0xFFFFFFCF) == (uint32_t)RESET))</span></div><div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;</div><div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;<span class="preprocessor">#define RTC_ALARM_1 0x00U</span></div><div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;<span class="preprocessor">#define RTC_ALARM_2 0x01U</span></div><div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;</div><div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;<span class="preprocessor">#define RTC_CLK_SOURCE_LSE            (0x00000000)</span></div><div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;<span class="preprocessor">#define RTC_CLK_SOURCE_LIRC           (0x00010000)</span></div><div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;<span class="preprocessor">#define RTC_CLK_SOURCE_HSEDIV         (0x00020000)</span></div><div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;</div><div class="line"><a name="l00282"></a><span class="lineno"><a class="line" href="group___r_t_c___alarm2___p_e_r_i_o_d.html#ga00df13c21fac54f3ae1cbe1cb8303dad">  282</a></span>&#160;<span class="preprocessor">#define RTC_ALARM2_CLOSE              ((uint8_t)0x00) </span></div><div class="line"><a name="l00283"></a><span class="lineno"><a class="line" href="group___r_t_c___alarm2___p_e_r_i_o_d.html#ga68cc6db690cf8365d44daf7a331f51f8">  283</a></span>&#160;<span class="preprocessor">#define RTC_ALARM2_1S                 ((uint8_t)0x01) </span></div><div class="line"><a name="l00284"></a><span class="lineno"><a class="line" href="group___r_t_c___alarm2___p_e_r_i_o_d.html#gab79a1a37223befe0ec2ec5aa5bb33936">  284</a></span>&#160;<span class="preprocessor">#define RTC_ALARM2_1P2S               ((uint8_t)0x02) </span></div><div class="line"><a name="l00285"></a><span class="lineno"><a class="line" href="group___r_t_c___alarm2___p_e_r_i_o_d.html#ga6f4e34836abf4507b35ef54245cd4748">  285</a></span>&#160;<span class="preprocessor">#define RTC_ALARM2_1P4S               ((uint8_t)0x03) </span></div><div class="line"><a name="l00286"></a><span class="lineno"><a class="line" href="group___r_t_c___alarm2___p_e_r_i_o_d.html#ga1cf821a3ac35bd74d426a76b6fe8de4b">  286</a></span>&#160;<span class="preprocessor">#define RTC_ALARM2_1P8S               ((uint8_t)0x04) </span></div><div class="line"><a name="l00287"></a><span class="lineno"><a class="line" href="group___r_t_c___alarm2___p_e_r_i_o_d.html#ga322991cce627338b18fe5cfad696a2e0">  287</a></span>&#160;<span class="preprocessor">#define RTC_ALARM2_1P16S              ((uint8_t)0x05) </span></div><div class="line"><a name="l00288"></a><span class="lineno"><a class="line" href="group___r_t_c___alarm2___p_e_r_i_o_d.html#ga2e63066f97f2bc39370cfc576f16d5ee">  288</a></span>&#160;<span class="preprocessor">#define RTC_ALARM2_1P32S              ((uint8_t)0x06) </span></div><div class="line"><a name="l00289"></a><span class="lineno"><a class="line" href="group___r_t_c___alarm2___p_e_r_i_o_d.html#gafa5fe310e10ba20b4c7b4b766f1de54b">  289</a></span>&#160;<span class="preprocessor">#define RTC_ALARM2_1P64S              ((uint8_t)0x07) </span></div><div class="line"><a name="l00290"></a><span class="lineno"><a class="line" href="group___r_t_c___alarm2___p_e_r_i_o_d.html#ga351305d57cf5004cb03ac5585942f874">  290</a></span>&#160;<span class="preprocessor">#define RTC_ALARM2_1P128S             ((uint8_t)0x08) </span></div><div class="line"><a name="l00291"></a><span class="lineno"><a class="line" href="group___r_t_c___alarm2___p_e_r_i_o_d.html#ga9a3463541e95b29b78eb49e535869bf6">  291</a></span>&#160;<span class="preprocessor">#define RTC_ALARM2_10S                ((uint8_t)0x09) </span></div><div class="line"><a name="l00292"></a><span class="lineno"><a class="line" href="group___r_t_c___alarm2___p_e_r_i_o_d.html#ga04e74993d1ac3d04007553e79dc351d9">  292</a></span>&#160;<span class="preprocessor">#define RTC_ALARM2_30S                ((uint8_t)0x0A) </span></div><div class="line"><a name="l00293"></a><span class="lineno"><a class="line" href="group___r_t_c___alarm2___p_e_r_i_o_d.html#gac788bea2c0be6d4ee3ea364236678348">  293</a></span>&#160;<span class="preprocessor">#define RTC_ALARM2_1M                 ((uint8_t)0x0B) </span></div><div class="line"><a name="l00294"></a><span class="lineno"><a class="line" href="group___r_t_c___alarm2___p_e_r_i_o_d.html#ga3256c5d4c9952d51da6bdcd6dff74747">  294</a></span>&#160;<span class="preprocessor">#define RTC_ALARM2_30M                ((uint8_t)0x0C) </span></div><div class="line"><a name="l00295"></a><span class="lineno"><a class="line" href="group___r_t_c___alarm2___p_e_r_i_o_d.html#gaf7f96f176fecc317898e4f2b4e6f7b1d">  295</a></span>&#160;<span class="preprocessor">#define RTC_ALARM2_60M                ((uint8_t)0x0D) </span></div><div class="line"><a name="l00296"></a><span class="lineno"><a class="line" href="group___r_t_c___alarm2___p_e_r_i_o_d.html#ga50d8d840df97c3605b415e6faafb8299">  296</a></span>&#160;<span class="preprocessor">#define RTC_ALARM2_12H                ((uint8_t)0x0E) </span></div><div class="line"><a name="l00297"></a><span class="lineno"><a class="line" href="group___r_t_c___alarm2___p_e_r_i_o_d.html#ga904db8d6fe488a6eec908919e989cae3">  297</a></span>&#160;<span class="preprocessor">#define RTC_ALARM2_24H                ((uint8_t)0x0F) </span></div><div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;<span class="preprocessor">#define IS_RTC_ALARM_2_PERIOD(PERIOD) (((PERIOD) == RTC_ALARM2_CLOSE)  || \</span></div><div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;<span class="preprocessor">                                       ((PERIOD) == RTC_ALARM2_1S)     || \</span></div><div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;<span class="preprocessor">                                       ((PERIOD) == RTC_ALARM2_1P2S)   || \</span></div><div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;<span class="preprocessor">                                       ((PERIOD) == RTC_ALARM2_1P4S)   || \</span></div><div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;<span class="preprocessor">                                       ((PERIOD) == RTC_ALARM2_1P8S)   || \</span></div><div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;<span class="preprocessor">                                       ((PERIOD) == RTC_ALARM2_1P16S)  || \</span></div><div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;<span class="preprocessor">                                       ((PERIOD) == RTC_ALARM2_1P32S)  || \</span></div><div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;<span class="preprocessor">                                       ((PERIOD) == RTC_ALARM2_1P64S)  || \</span></div><div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;<span class="preprocessor">                                       ((PERIOD) == RTC_ALARM2_1P128S) || \</span></div><div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;<span class="preprocessor">                                       ((PERIOD) == RTC_ALARM2_10S)    || \</span></div><div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;<span class="preprocessor">                                       ((PERIOD) == RTC_ALARM2_10S)    || \</span></div><div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;<span class="preprocessor">                                       ((PERIOD) == RTC_ALARM2_1M)     || \</span></div><div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;<span class="preprocessor">                                       ((PERIOD) == RTC_ALARM2_30M)    || \</span></div><div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;<span class="preprocessor">                                       ((PERIOD) == RTC_ALARM2_60M)    || \</span></div><div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;<span class="preprocessor">                                       ((PERIOD) == RTC_ALARM2_12H)    || \</span></div><div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;<span class="preprocessor">                                       ((PERIOD) == RTC_ALARM2_24H))</span></div><div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;</div><div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;<span class="preprocessor">#define RTC_FLAG_ALR2F                RTC_ISR_ALM2_F </span><span class="comment">/* Alarm 2 flag */</span><span class="preprocessor"></span></div><div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;<span class="preprocessor">#define RTC_FLAG_ALR1F                RTC_ISR_ALM1_F </span><span class="comment">/* Alarm 1 flag */</span><span class="preprocessor"></span></div><div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;<span class="preprocessor">#define RTC_FLAG_RSF                  RTC_ISR_RSF    </span><span class="comment">/* Registers Synchronized flag */</span><span class="preprocessor"></span></div><div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;<span class="preprocessor">#define RTC_FLAG_WAITF                RTC_ISR_WAITF  </span><span class="comment">/* Initialization mode flag  */</span><span class="preprocessor"></span></div><div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;<span class="preprocessor">#define RTC_FLAG_WAIT                 RTC_ISR_WAIT   </span><span class="comment">/* Shift operation pending flag */</span><span class="preprocessor"></span></div><div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;<span class="preprocessor">#define IS_RTC_GET_FLAG(FLAG)         (((FLAG) == RTC_FLAG_ALR2F) || \</span></div><div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;<span class="preprocessor">                                       ((FLAG) == RTC_FLAG_ALR1F) || \</span></div><div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;<span class="preprocessor">                                       ((FLAG) == RTC_FLAG_RSF)   || \</span></div><div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;<span class="preprocessor">                                       ((FLAG) == RTC_FLAG_WAITF) || \</span></div><div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;<span class="preprocessor">                                       ((FLAG) == RTC_FLAG_WAIT))</span></div><div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;</div><div class="line"><a name="l00338"></a><span class="lineno"><a class="line" href="group___r_t_c___calib__period.html#gaf6b738783dd125ddda24ea450ddc66c9">  338</a></span>&#160;<span class="preprocessor">#define RTC_CalibPeriod_60sec         ((uint32_t)0x00000000) </span></div><div class="line"><a name="l00339"></a><span class="lineno"><a class="line" href="group___r_t_c___calib__period.html#gae2586aac814dc6feb6893f084d4f75a2">  339</a></span>&#160;<span class="preprocessor">#define RTC_CalibPeriod_30sec         ((uint32_t)0x00000100) </span></div><div class="line"><a name="l00340"></a><span class="lineno"><a class="line" href="group___r_t_c___calib__period.html#gac30727b805e3a505fe9c6c5cdd582770">  340</a></span>&#160;<span class="preprocessor">#define RTC_CalibPeriod_15sec         ((uint32_t)0x00000200) </span></div><div class="line"><a name="l00341"></a><span class="lineno"><a class="line" href="group___r_t_c___calib__period.html#gabdaca0107da25934811bf171e652d5b9">  341</a></span>&#160;<span class="preprocessor">#define RTC_CalibPeriod_6sec          ((uint32_t)0x00000300) </span></div><div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;<span class="preprocessor">#define IS_RTC_CALIB_PERIOD(PERIOD)   (((PERIOD) == RTC_CalibPeriod_60sec) || \</span></div><div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;<span class="preprocessor">                                       ((PERIOD) == RTC_CalibPeriod_30sec) || \</span></div><div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;<span class="preprocessor">                                       ((PERIOD) == RTC_CalibPeriod_15sec) || \</span></div><div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;<span class="preprocessor">                                       ((PERIOD) == RTC_CalibPeriod_6sec))</span></div><div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;</div><div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;<span class="preprocessor">#define IS_RTC_CALIB_MINUS(VALUE) ((VALUE) &lt;= 0x0000007F)</span></div><div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;</div><div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;<span class="comment">/* Exported macro ------------------------------------------------------------*/</span></div><div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;<span class="comment">/* Exported functions --------------------------------------------------------*/</span></div><div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;</div><div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;</div><div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;<span class="comment">/* Initialization and Configuration functions *********************************/</span></div><div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;ErrorStatus <a class="code" href="group___r_t_c.html#ga8eb747bf9698b2482ba6ef4d811de8e0">RTC_Init</a>(<a class="code" href="struct_r_t_c___init_type_def.html">RTC_InitTypeDef</a> *RTC_InitStruct);</div><div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160;</div><div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___r_t_c.html#ga9d4bdfd3ae6957630d15d2497573b7c7">RTC_WriteProtectionCmd</a>(FunctionalState NewState);</div><div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;ErrorStatus <a class="code" href="group___r_t_c.html#ga679f8883cbfb267a53ffb1ab4cc5c8c5">RTC_EnterInitMode</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___r_t_c.html#ga87f86f3b794205f09a1eac51738d900f">RTC_ExitInitMode</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160;ErrorStatus <a class="code" href="group___r_t_c.html#ga2938febeef6baf0d91cc066ca5caf095">RTC_WaitForSynchro</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___r_t_c.html#gae5e7c682f15b8ae9ddd3b2a85a9df7db">RTC_BypassShadowCmd</a>(FunctionalState NewState);</div><div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;</div><div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;<span class="comment">/* Time and Date configuration functions **************************************/</span></div><div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;ErrorStatus <a class="code" href="group___r_t_c.html#ga9f9df80cfa82f7a4dd9f4d0cf2ffb3a6">RTC_SetTime</a>(uint32_t RTC_Format, <a class="code" href="struct_r_t_c___time_type_def.html">RTC_TimeTypeDef</a> *RTC_TimeStruct);</div><div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___r_t_c.html#ga0404db6e0c70e5a6bbbe4fa58a577365">RTC_TimeStructInit</a>(<a class="code" href="struct_r_t_c___time_type_def.html">RTC_TimeTypeDef</a> *RTC_TimeStruct);</div><div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___r_t_c.html#ga1fcc101339c77aebd25ec3621fd1b61a">RTC_GetTime</a>(uint32_t RTC_Format, <a class="code" href="struct_r_t_c___time_type_def.html">RTC_TimeTypeDef</a> *RTC_TimeStruct);</div><div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;ErrorStatus <a class="code" href="group___r_t_c.html#ga69d08538147f3d89c818dcfabf50e362">RTC_SetDate</a>(uint32_t RTC_Format, <a class="code" href="struct_r_t_c___date_type_def.html">RTC_DateTypeDef</a> *RTC_DateStruct);</div><div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___r_t_c.html#ga6e4e99be910d7759f8910056a2985056">RTC_DateStructInit</a>(<a class="code" href="struct_r_t_c___date_type_def.html">RTC_DateTypeDef</a> *RTC_DateStruct);</div><div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___r_t_c.html#ga582645d554cdd4a316213e90f0b4c8ae">RTC_GetDate</a>(uint32_t RTC_Format, <a class="code" href="struct_r_t_c___date_type_def.html">RTC_DateTypeDef</a> *RTC_DateStruct);</div><div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;</div><div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;<span class="comment">/* Alarms (Alarm 1 and Alarm 2) configuration functions  **********************/</span></div><div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___r_t_c.html#ga9115ed448e1f6257f49740f4537dcceb">RTC_SetAlarm1</a>(uint32_t RTC_Format, <a class="code" href="struct_r_t_c___alarm_type_def.html">RTC_AlarmTypeDef</a> *RTC_AlarmStruct);</div><div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160;<span class="keywordtype">void</span> RTC_AlarmStructInit(<a class="code" href="struct_r_t_c___alarm_type_def.html">RTC_AlarmTypeDef</a> *RTC_AlarmStruct);</div><div class="line"><a name="l00386"></a><span class="lineno">  386</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___r_t_c.html#ga80aa39f27f82e276c57bdab40819751e">RTC_Alarm1Cmd</a>(FunctionalState NewState);</div><div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___r_t_c.html#ga9bce346eca2e597e2f87bc5debcc663b">RTC_GetAlarm1</a>(uint32_t RTC_Format, <a class="code" href="struct_r_t_c___alarm_type_def.html">RTC_AlarmTypeDef</a> *RTC_AlarmStruct);</div><div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160;ErrorStatus RTC_AlarmCmd(uint32_t RTC_Alarm, FunctionalState NewState);</div><div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___r_t_c.html#gada26ea641cf4e83f592fd4036d955784">RTC_SetALARM2Period</a>(uint32_t Period);</div><div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;</div><div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;<span class="comment">/* Output pin Configuration function ******************************************/</span></div><div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___r_t_c.html#ga36d097a72b0f3d0c1bf3250da31230a4">RTC_1HZ_Config</a>(FunctionalState NewState);</div><div class="line"><a name="l00393"></a><span class="lineno">  393</span>&#160;</div><div class="line"><a name="l00394"></a><span class="lineno">  394</span>&#160;<span class="comment">/* Digital Calibration configuration functions *********************************/</span></div><div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___r_t_c.html#ga1734325d5de0707b7474f9f073446814">RTC_CalibConfig</a>(uint32_t RTC_CalibPeriod, uint32_t RTC_CalibMinusPulsesValue);</div><div class="line"><a name="l00396"></a><span class="lineno">  396</span>&#160;</div><div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160;<span class="comment">/* Interrupts and flags management functions **********************************/</span></div><div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___r_t_c.html#gaa8469b33b3a99025baf52f007683b925">RTC_ITConfig</a>(uint32_t RTC_IT, FunctionalState NewState);</div><div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;ITStatus RTC_GetITStatus(uint32_t RTC_IT);</div><div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___r_t_c.html#gacac6accc75ae54f1b799fa8e7e83ccdb">RTC_ClearITPendingBit</a>(uint32_t RTC_IT);</div><div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;</div><div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;}</div><div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160;</div><div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* __WB32L003_RTC_H */</span><span class="preprocessor"></span></div><div class="ttc" id="struct_r_t_c___date_type_def_html_aff0da1fdfc42a0f8c0748d014921357b"><div class="ttname"><a href="struct_r_t_c___date_type_def.html#aff0da1fdfc42a0f8c0748d014921357b">RTC_DateTypeDef::RTC_Cen</a></div><div class="ttdeci">uint8_t RTC_Cen</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.h:68</div></div>
<div class="ttc" id="struct_r_t_c___time_type_def_html_a8c07c311d80e32ef93c46d5e5a701105"><div class="ttname"><a href="struct_r_t_c___time_type_def.html#a8c07c311d80e32ef93c46d5e5a701105">RTC_TimeTypeDef::RTC_Seconds</a></div><div class="ttdeci">uint8_t RTC_Seconds</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.h:44</div></div>
<div class="ttc" id="group___r_t_c_html_ga2938febeef6baf0d91cc066ca5caf095"><div class="ttname"><a href="group___r_t_c.html#ga2938febeef6baf0d91cc066ca5caf095">RTC_WaitForSynchro</a></div><div class="ttdeci">ErrorStatus RTC_WaitForSynchro(void)</div><div class="ttdoc">Waits until the RTC Time and Date registers (RTC_TR and RTC_DR) are synchronized with RTC APB clock.</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.c:207</div></div>
<div class="ttc" id="struct_r_t_c___alarm_enable_type_def_html_aaf40b40dea525ac832ba4b8f715082e5"><div class="ttname"><a href="struct_r_t_c___alarm_enable_type_def.html#aaf40b40dea525ac832ba4b8f715082e5">RTC_AlarmEnableTypeDef::Seconds_Enable</a></div><div class="ttdeci">uint32_t Seconds_Enable</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.h:91</div></div>
<div class="ttc" id="struct_r_t_c___alarm_enable_type_def_html_a6a988464a06f8c9821bb2400dda884ee"><div class="ttname"><a href="struct_r_t_c___alarm_enable_type_def.html#a6a988464a06f8c9821bb2400dda884ee">RTC_AlarmEnableTypeDef::Sen_Enable</a></div><div class="ttdeci">uint32_t Sen_Enable</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.h:85</div></div>
<div class="ttc" id="struct_r_t_c___init_type_def_html_a0db37d58422ac673ed23f89a3f4a9112"><div class="ttname"><a href="struct_r_t_c___init_type_def.html#a0db37d58422ac673ed23f89a3f4a9112">RTC_InitTypeDef::RTC_HourFormat</a></div><div class="ttdeci">uint32_t RTC_HourFormat</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.h:110</div></div>
<div class="ttc" id="group___r_t_c_html_gae5e7c682f15b8ae9ddd3b2a85a9df7db"><div class="ttname"><a href="group___r_t_c.html#gae5e7c682f15b8ae9ddd3b2a85a9df7db">RTC_BypassShadowCmd</a></div><div class="ttdeci">void RTC_BypassShadowCmd(FunctionalState NewState)</div><div class="ttdoc">Enables or Disables the Bypass Shadow feature.</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.c:250</div></div>
<div class="ttc" id="group___r_t_c_html_ga9bce346eca2e597e2f87bc5debcc663b"><div class="ttname"><a href="group___r_t_c.html#ga9bce346eca2e597e2f87bc5debcc663b">RTC_GetAlarm1</a></div><div class="ttdeci">void RTC_GetAlarm1(uint32_t RTC_Format, RTC_AlarmTypeDef *RTC_AlarmStruct)</div><div class="ttdoc">Get the RTC Alarm value and masks.</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.c:766</div></div>
<div class="ttc" id="group___r_t_c_html_ga8eb747bf9698b2482ba6ef4d811de8e0"><div class="ttname"><a href="group___r_t_c.html#ga8eb747bf9698b2482ba6ef4d811de8e0">RTC_Init</a></div><div class="ttdeci">ErrorStatus RTC_Init(RTC_InitTypeDef *RTC_InitStruct)</div><div class="ttdoc">Initializes the RTC registers according to the specified parameters in RTC_InitStruct.</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.c:62</div></div>
<div class="ttc" id="struct_r_t_c___alarm_type_def_html_aa57dd9deaaea9b542486911ad9045d9b"><div class="ttname"><a href="struct_r_t_c___alarm_type_def.html#aa57dd9deaaea9b542486911ad9045d9b">RTC_AlarmTypeDef::Alarm_Enable</a></div><div class="ttdeci">RTC_AlarmEnableTypeDef Alarm_Enable</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.h:100</div></div>
<div class="ttc" id="struct_r_t_c___alarm_type_def_html_ae9cb3adf9101dd46d9694b4a443f9907"><div class="ttname"><a href="struct_r_t_c___alarm_type_def.html#ae9cb3adf9101dd46d9694b4a443f9907">RTC_AlarmTypeDef::RTC_AlarmDate</a></div><div class="ttdeci">RTC_DateTypeDef RTC_AlarmDate</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.h:101</div></div>
<div class="ttc" id="group___r_t_c_html_gaa8469b33b3a99025baf52f007683b925"><div class="ttname"><a href="group___r_t_c.html#gaa8469b33b3a99025baf52f007683b925">RTC_ITConfig</a></div><div class="ttdeci">void RTC_ITConfig(uint32_t RTC_IT, FunctionalState NewState)</div><div class="ttdoc">Enables or disables the specified RTC interrupts.</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.c:961</div></div>
<div class="ttc" id="struct_r_t_c___time_type_def_html_a0fe1916f490e9ef9fa171fbfcffd2c58"><div class="ttname"><a href="struct_r_t_c___time_type_def.html#a0fe1916f490e9ef9fa171fbfcffd2c58">RTC_TimeTypeDef::RTC_H12</a></div><div class="ttdeci">uint8_t RTC_H12</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.h:47</div></div>
<div class="ttc" id="group___r_t_c_html_ga679f8883cbfb267a53ffb1ab4cc5c8c5"><div class="ttname"><a href="group___r_t_c.html#ga679f8883cbfb267a53ffb1ab4cc5c8c5">RTC_EnterInitMode</a></div><div class="ttdeci">ErrorStatus RTC_EnterInitMode(void)</div><div class="ttdoc">Enters the RTC Initialization mode.</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.c:146</div></div>
<div class="ttc" id="struct_r_t_c___date_type_def_html"><div class="ttname"><a href="struct_r_t_c___date_type_def.html">RTC_DateTypeDef</a></div><div class="ttdoc">RTC Date structure definition</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.h:54</div></div>
<div class="ttc" id="struct_r_t_c___date_type_def_html_a15f84881e22a582c5a74ba1fd18f1b0b"><div class="ttname"><a href="struct_r_t_c___date_type_def.html#a15f84881e22a582c5a74ba1fd18f1b0b">RTC_DateTypeDef::RTC_Year</a></div><div class="ttdeci">uint32_t RTC_Year</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.h:56</div></div>
<div class="ttc" id="struct_r_t_c___handle_type_def_html_ad08c19f15bc164d31a709b2a66262d02"><div class="ttname"><a href="struct_r_t_c___handle_type_def.html#ad08c19f15bc164d31a709b2a66262d02">RTC_HandleTypeDef::InitStruct</a></div><div class="ttdeci">RTC_InitTypeDef InitStruct</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.h:121</div></div>
<div class="ttc" id="struct_r_t_c___alarm_enable_type_def_html_a3c1d834488a779955c7c7b153ad83d83"><div class="ttname"><a href="struct_r_t_c___alarm_enable_type_def.html#a3c1d834488a779955c7c7b153ad83d83">RTC_AlarmEnableTypeDef::Hours_Enable</a></div><div class="ttdeci">uint32_t Hours_Enable</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.h:87</div></div>
<div class="ttc" id="group___r_t_c_html_ga87f86f3b794205f09a1eac51738d900f"><div class="ttname"><a href="group___r_t_c.html#ga87f86f3b794205f09a1eac51738d900f">RTC_ExitInitMode</a></div><div class="ttdeci">void RTC_ExitInitMode(void)</div><div class="ttdoc">Exits the RTC Initialization mode.</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.c:191</div></div>
<div class="ttc" id="struct_r_t_c___alarm_enable_type_def_html_a455fbd36e1ef2a6a642050c43cd5a116"><div class="ttname"><a href="struct_r_t_c___alarm_enable_type_def.html#a455fbd36e1ef2a6a642050c43cd5a116">RTC_AlarmEnableTypeDef::Date_Enable</a></div><div class="ttdeci">uint32_t Date_Enable</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.h:81</div></div>
<div class="ttc" id="struct_r_t_c___date_type_def_html_a0fa309adbe7cb00f5559f123637db5d5"><div class="ttname"><a href="struct_r_t_c___date_type_def.html#a0fa309adbe7cb00f5559f123637db5d5">RTC_DateTypeDef::RTC_Date</a></div><div class="ttdeci">uint8_t RTC_Date</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.h:62</div></div>
<div class="ttc" id="struct_r_t_c___time_type_def_html_ae6454acb26dbaa987a4f39b992074394"><div class="ttname"><a href="struct_r_t_c___time_type_def.html#ae6454acb26dbaa987a4f39b992074394">RTC_TimeTypeDef::RTC_Minutes</a></div><div class="ttdeci">uint8_t RTC_Minutes</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.h:41</div></div>
<div class="ttc" id="group___r_t_c_html_ga9f9df80cfa82f7a4dd9f4d0cf2ffb3a6"><div class="ttname"><a href="group___r_t_c.html#ga9f9df80cfa82f7a4dd9f4d0cf2ffb3a6">RTC_SetTime</a></div><div class="ttdeci">ErrorStatus RTC_SetTime(uint32_t RTC_Format, RTC_TimeTypeDef *RTC_TimeStruct)</div><div class="ttdoc">Set the RTC current time.</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.c:286</div></div>
<div class="ttc" id="group___r_t_c_html_ga1fcc101339c77aebd25ec3621fd1b61a"><div class="ttname"><a href="group___r_t_c.html#ga1fcc101339c77aebd25ec3621fd1b61a">RTC_GetTime</a></div><div class="ttdeci">void RTC_GetTime(uint32_t RTC_Format, RTC_TimeTypeDef *RTC_TimeStruct)</div><div class="ttdoc">Get the RTC current Time.</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.c:408</div></div>
<div class="ttc" id="struct_r_t_c___date_type_def_html_a11187916c6ecdc5464df15561f9f67f8"><div class="ttname"><a href="struct_r_t_c___date_type_def.html#a11187916c6ecdc5464df15561f9f67f8">RTC_DateTypeDef::RTC_WeekDay</a></div><div class="ttdeci">uint8_t RTC_WeekDay</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.h:65</div></div>
<div class="ttc" id="struct_r_t_c___alarm_enable_type_def_html_a261e1324686a68349330a91dccb97014"><div class="ttname"><a href="struct_r_t_c___alarm_enable_type_def.html#a261e1324686a68349330a91dccb97014">RTC_AlarmEnableTypeDef::Minutes_Enable</a></div><div class="ttdeci">uint32_t Minutes_Enable</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.h:89</div></div>
<div class="ttc" id="struct_r_t_c___alarm_type_def_html_a87078823f156d88aa21b0a1c43cb985c"><div class="ttname"><a href="struct_r_t_c___alarm_type_def.html#a87078823f156d88aa21b0a1c43cb985c">RTC_AlarmTypeDef::RTC_AlarmTime</a></div><div class="ttdeci">RTC_TimeTypeDef RTC_AlarmTime</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.h:102</div></div>
<div class="ttc" id="struct_r_t_c___time_type_def_html"><div class="ttname"><a href="struct_r_t_c___time_type_def.html">RTC_TimeTypeDef</a></div><div class="ttdoc">RTC Time structure definition</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.h:34</div></div>
<div class="ttc" id="struct_r_t_c___alarm_enable_type_def_html_a8b1dd5a7a9ba7c35d5a6fdb953776f68"><div class="ttname"><a href="struct_r_t_c___alarm_enable_type_def.html#a8b1dd5a7a9ba7c35d5a6fdb953776f68">RTC_AlarmEnableTypeDef::WeekDay_Enable</a></div><div class="ttdeci">uint32_t WeekDay_Enable</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.h:83</div></div>
<div class="ttc" id="struct_r_t_c___alarm_enable_type_def_html_a6cb39456be9ab6d4113897604f3b83be"><div class="ttname"><a href="struct_r_t_c___alarm_enable_type_def.html#a6cb39456be9ab6d4113897604f3b83be">RTC_AlarmEnableTypeDef::Year_Enable</a></div><div class="ttdeci">uint32_t Year_Enable</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.h:77</div></div>
<div class="ttc" id="group___r_t_c_html_ga9115ed448e1f6257f49740f4537dcceb"><div class="ttname"><a href="group___r_t_c.html#ga9115ed448e1f6257f49740f4537dcceb">RTC_SetAlarm1</a></div><div class="ttdeci">void RTC_SetAlarm1(uint32_t RTC_Format, RTC_AlarmTypeDef *RTC_AlarmStruct)</div><div class="ttdoc">Set the specified RTC Alarm1.</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.c:619</div></div>
<div class="ttc" id="struct_r_t_c___alarm_enable_type_def_html"><div class="ttname"><a href="struct_r_t_c___alarm_enable_type_def.html">RTC_AlarmEnableTypeDef</a></div><div class="ttdoc">RTC ALARM Enable structure definition</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.h:75</div></div>
<div class="ttc" id="group___r_t_c_html_ga6e4e99be910d7759f8910056a2985056"><div class="ttname"><a href="group___r_t_c.html#ga6e4e99be910d7759f8910056a2985056">RTC_DateStructInit</a></div><div class="ttdeci">void RTC_DateStructInit(RTC_DateTypeDef *RTC_DateStruct)</div><div class="ttdoc">Fills each RTC_DateStruct member with its default value (Monday, January 01 xx00).</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.c:557</div></div>
<div class="ttc" id="group___r_t_c_html_ga69d08538147f3d89c818dcfabf50e362"><div class="ttname"><a href="group___r_t_c.html#ga69d08538147f3d89c818dcfabf50e362">RTC_SetDate</a></div><div class="ttdeci">ErrorStatus RTC_SetDate(uint32_t RTC_Format, RTC_DateTypeDef *RTC_DateStruct)</div><div class="ttdoc">Set the RTC current date.</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.c:455</div></div>
<div class="ttc" id="struct_r_t_c___handle_type_def_html_ab4721c4fe201fd3434c7989dff8b1c72"><div class="ttname"><a href="struct_r_t_c___handle_type_def.html#ab4721c4fe201fd3434c7989dff8b1c72">RTC_HandleTypeDef::DateToUpdate</a></div><div class="ttdeci">RTC_DateTypeDef DateToUpdate</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.h:122</div></div>
<div class="ttc" id="struct_r_t_c___date_type_def_html_a8f0d023494a7f66ec535d97b14d34363"><div class="ttname"><a href="struct_r_t_c___date_type_def.html#a8f0d023494a7f66ec535d97b14d34363">RTC_DateTypeDef::RTC_Month</a></div><div class="ttdeci">uint8_t RTC_Month</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.h:59</div></div>
<div class="ttc" id="group___r_t_c_html_ga36d097a72b0f3d0c1bf3250da31230a4"><div class="ttname"><a href="group___r_t_c.html#ga36d097a72b0f3d0c1bf3250da31230a4">RTC_1HZ_Config</a></div><div class="ttdeci">void RTC_1HZ_Config(FunctionalState NewState)</div><div class="ttdoc">Deactive the specified 1HZ out</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.c:873</div></div>
<div class="ttc" id="group___r_t_c_html_ga80aa39f27f82e276c57bdab40819751e"><div class="ttname"><a href="group___r_t_c.html#ga80aa39f27f82e276c57bdab40819751e">RTC_Alarm1Cmd</a></div><div class="ttdeci">void RTC_Alarm1Cmd(FunctionalState NewState)</div><div class="ttdoc">Enables or disables the specified RTC Alarm.</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.c:820</div></div>
<div class="ttc" id="group___r_t_c_html_ga1734325d5de0707b7474f9f073446814"><div class="ttname"><a href="group___r_t_c.html#ga1734325d5de0707b7474f9f073446814">RTC_CalibConfig</a></div><div class="ttdeci">void RTC_CalibConfig(uint32_t RTC_CalibPeriod, uint32_t RTC_CalibMinusPulsesValue)</div><div class="ttdoc">Configures the Calibration Settings.</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.c:901</div></div>
<div class="ttc" id="group___r_t_c_html_gada26ea641cf4e83f592fd4036d955784"><div class="ttname"><a href="group___r_t_c.html#gada26ea641cf4e83f592fd4036d955784">RTC_SetALARM2Period</a></div><div class="ttdeci">void RTC_SetALARM2Period(uint32_t Period)</div><div class="ttdoc">Set the specified RTC Alarm2.</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.c:850</div></div>
<div class="ttc" id="group___r_t_c_html_ga0404db6e0c70e5a6bbbe4fa58a577365"><div class="ttname"><a href="group___r_t_c.html#ga0404db6e0c70e5a6bbbe4fa58a577365">RTC_TimeStructInit</a></div><div class="ttdeci">void RTC_TimeStructInit(RTC_TimeTypeDef *RTC_TimeStruct)</div><div class="ttdoc">Fills each RTC_TimeStruct member with its default value (Time = 00h:00min:00sec).</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.c:389</div></div>
<div class="ttc" id="struct_r_t_c___handle_type_def_html"><div class="ttname"><a href="struct_r_t_c___handle_type_def.html">RTC_HandleTypeDef</a></div><div class="ttdoc">Time Handle Structure definition</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.h:119</div></div>
<div class="ttc" id="group___r_t_c_html_ga582645d554cdd4a316213e90f0b4c8ae"><div class="ttname"><a href="group___r_t_c.html#ga582645d554cdd4a316213e90f0b4c8ae">RTC_GetDate</a></div><div class="ttdeci">void RTC_GetDate(uint32_t RTC_Format, RTC_DateTypeDef *RTC_DateStruct)</div><div class="ttdoc">Get the RTC current date.</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.c:577</div></div>
<div class="ttc" id="group___r_t_c_html_gacac6accc75ae54f1b799fa8e7e83ccdb"><div class="ttname"><a href="group___r_t_c.html#gacac6accc75ae54f1b799fa8e7e83ccdb">RTC_ClearITPendingBit</a></div><div class="ttdeci">void RTC_ClearITPendingBit(uint32_t RTC_IT)</div><div class="ttdoc">Clears the RTC's interrupt pending bits.</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.c:993</div></div>
<div class="ttc" id="group___r_t_c_html_ga9d4bdfd3ae6957630d15d2497573b7c7"><div class="ttname"><a href="group___r_t_c.html#ga9d4bdfd3ae6957630d15d2497573b7c7">RTC_WriteProtectionCmd</a></div><div class="ttdeci">void RTC_WriteProtectionCmd(FunctionalState NewState)</div><div class="ttdoc">Enables or disables the RTC registers write protection.</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.c:119</div></div>
<div class="ttc" id="struct_r_t_c___alarm_enable_type_def_html_a83345b13965e480c5c7cb149b5355eef"><div class="ttname"><a href="struct_r_t_c___alarm_enable_type_def.html#a83345b13965e480c5c7cb149b5355eef">RTC_AlarmEnableTypeDef::Month_Enable</a></div><div class="ttdeci">uint32_t Month_Enable</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.h:79</div></div>
<div class="ttc" id="struct_r_t_c___time_type_def_html_a477121009a567d6dd0e5fa1310574d32"><div class="ttname"><a href="struct_r_t_c___time_type_def.html#a477121009a567d6dd0e5fa1310574d32">RTC_TimeTypeDef::RTC_Hours</a></div><div class="ttdeci">uint8_t RTC_Hours</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.h:36</div></div>
<div class="ttc" id="struct_r_t_c___init_type_def_html"><div class="ttname"><a href="struct_r_t_c___init_type_def.html">RTC_InitTypeDef</a></div><div class="ttdoc">RTC Init structures definition</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.h:108</div></div>
<div class="ttc" id="struct_r_t_c___alarm_type_def_html"><div class="ttname"><a href="struct_r_t_c___alarm_type_def.html">RTC_AlarmTypeDef</a></div><div class="ttdoc">RTC Alarm structure definition</div><div class="ttdef"><b>Definition:</b> wb32l003_rtc.h:98</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by Westberry Technology (ChangZhou) Corp., Ltd. All rights reserved.
</small></address>
</body>
</html>
